from xmlrpc.server import SimpleXMLRPCServer


def hello(name):
    return "Hello: {}!".format(name)


server = SimpleXMLRPCServer(('localhost', 8000))
server.register_function(hello, 'hello')
server.serve_forever()
